package com.hm.hall.user.controller.req;

/**
 * 微扑克 第三方登录参数
 */
public class ThirdLoginReq {
    /**
     * (必须) |   微信 unionid
     */
    public String unionid;
    /**
     * (必须) |   第三方登录唯一凭证
     */
    public String username;

    /**
     * (必须) |   第三方接入商渠道标示
     */
    public String channel;
    /**
     * (必须) |   当前时间戳
     */
    public long time;
    /**
     * (可传) |   用户昵称
     */
    public String nickname;
    /**
     * (可传) |   用户头像链接
     */
    public String avatar;
    /**
     * (可传) |   性别 0:未设置,1:男,2:女
     */
    public Integer sex;
    /**
     * 语言: zh:中文, en:英文
     */
    public String lang;
    /**
     * 设备类型 1 :h5 , 2:ios ,3: Android
     */
    public Short deviceType;

    public Short getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Short deviceType) {
        this.deviceType = deviceType;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
